package com.leased.service;

import com.leased.exception.DatabaseException;
import com.leased.pojo.ZUsers;
import com.leased.request.zuser.ZUserListRequest;
import com.leased.response.UserCountResponse;
import com.leased.response.ZUserResponse;
import com.leased.utils.Page;

/**
 * Created by shencx on 2017/7/28.
 */
public interface ZUserService {

    Integer addZUserInfo(ZUsers zUsers) throws DatabaseException;

    boolean updateZUserInfo(ZUsers zUsers) throws DatabaseException;

    Page<ZUserResponse> fetchZUserInfoPage(ZUserListRequest zUserListRequest) throws DatabaseException;

    ZUsers fetchZUserDetail(ZUserListRequest zUserListRequest) throws DatabaseException;

    UserCountResponse fetchCountNum() throws DatabaseException;

}
